const envOptions = {
    dev: 'dev',
    test: 'test',
    prod: 'prod'
}
// 默认环境
const env = envOptions.dev

const envConfig = {
    dev: {
        baseApi: '/dev',
        mockApi: 'https://www.fastmock.site/mock/bb6b7ccd97ca4202d2c97d50a3684e3d/api'
    },
    test: {
        baseApi: '/test',
        mockApi: '/mock/test'
    },
    prod: {
        baseApi: '/prod',
        mockApi: '/mock/prod'
    },
}

export default {
    env,
    mock: false,            // 全局MOCK 开启 / 关闭
    ...envConfig[env],
    nameSpace: 'loneWolf'
}